import request from '@/utils/request'

// 查询A法人单位和产业活动单位基本情况列表
export function getFields(query) {
  return request({
    url: '/economic/getfields',
    method: 'get',
    params: query
  })
}

export function getConfigs(query) {
  return request({
    url: '/economic/getconfigjson',
    method: 'get',
    params: query
  })
}

export function getCode(query) {
  return request({
    url: '/economic/code',
    method: 'post',
    params: query
  })
}

export function getPhotos(url) {
  return request({
    url: '/img/'+url,
    method: 'get'
  })
}
